package com.linkage.bss.crm.packagemgr.util;

/**
 * 常量文件
 * @ClassName: PromoConstant.java
 * @Description: PromoConstant.java
 * @author: JinShuming
 * @date 2012-8-20
 */
public class Constant {

	// 打包配置信息的缓存前缀,供存取缓存中规格时使用
	public static final String PACK_CONFIG_CACHE_KEY = "pack_config_cache_key_";

	/**
	 * 设计中状态
	 */
	public static final int STATUS_DESIGNING = 1;

	/**
	 * 已生效状态
	 */
	public static final int STATUS_EFFECTIVE = 2;

	/**
	 * 已失效状态
	 */
	public static final int STATUS_NO_EFFECTIVE = 3;

	/**
	 * 已停用状态
	 */
	public static final int STATUS_DISABLED = 4;

	/**
	 * 审批中状态
	 */
	public static final int STATUS_APPROVALING = 5;

	/**
	 * 审批通过状态
	 */
	public static final int STATUS_APPROVAL_PASS = 6;

	/**
	 * 审批不通过状态
	 */
	public static final int STATUS_APPROVAL_NOPASS = 7;

	/**
	 * 审批异常
	 */
	public static final int STATUS_APPROVAL_EXCEPTION = 8;

	/**
	 * 已作废状态
	 */
	public static final int STATUS_INVALID = 9;

	/**
	 * 产品类型
	 */
	public static final Long PRODUCT = 2L;

	/**
	 * 销售品类型
	 */
	public static final Long OFFER = 7L;

	/**
	 * 客户类型
	 */
	public static final Long CUST = 1L;

	/**
	 * 服务
	 */
	public static final Long SERV = 4L;

	/**
	 * 3级地区
	 */
	public static final Integer AREA_LEVEL_3 = 3;

	/**
	 * 订购动作
	 */
	public static final String ACTION_TYPE_ORDER = "100";

	/**
	 * 加入套餐动作
	 */
	public static final String ACTION_TYPE_JOIN = "101";

	public static final Integer CHECK_FALSE = 10001;
	public static final Integer DEL_FALSE = 10002;

	public static final Integer GET_PACKAGE_2_CHENNEL_FALSE = 10002;

	/**
	 * seq
	 */
	public static final String SEQ_PACKAGE_ID = "SEQ_PACKAGE_ID";
	public static final String SEQ_PACKAGE_OBJECT_NUMBER = "SEQ_PACKAGE_OBJECT_NUMBER";
	public static final String SEQ_PACKAGE_ACTION_ITEM_ID = "SEQ_PACKAGE_ACTION_ITEM_ID";
	public static final String SEQ_PACKAGE_PARAMETER_ID = "SEQ_PACKAGE_PARAMETER_ID";

	/**
	 * 包操作：新增，修改，查看
	 */
	public static final String PACK_OPERATE_ADD = "1";
	public static final String PACK_OPERATE_MODIFY = "2";
	public static final String PACK_OPERATE_SHOW = "3";
	public static final String PACK_OPERATE_COPYNEW = "8";

	public static final String OBJ_TYPE_CUST = "1";
	public static final String OBJ_TYPE_PRODUCT = "2";
	//	public static final String obj_Type_offer = "7";

	//销售品属性
	public static final Integer ITEM_SPEC_CANNOT_SINGLE_SUBSCRIBE = new Integer(300000007);//不可前台单独订购
	public static final Integer ITEM_SPEC_OFFER_SPEC_ATTR_CLASS = new Integer(300000013);//销售品属性分类
	public static final Integer CONST_AGREEMENT_TYPE_AGREEMENT = new Integer(3);
	public static final Integer RELA_TYPE_RELY = Integer.valueOf(2);//依赖

	/**
	 * 新装、已有、不需要
	 */
	public static final String PARAM_TYPE_YND = "S01";
	/**
	 * 付费方式
	 */
	public static final String PARAM_TYPE_FEETYPE = "S03";
	/**
	 * 后付费
	 */
	public static final String FEE_TYPE_POSTPAY = "1";
	/**
	 * 预付费
	 */
	public static final String FEE_TYPE_PREPAY = "2";
	/**
	 * 预后不限
	 */
	public static final String FEE_TYPE_NO_LIMIT = "3";
	/**
	 * 可预可后，默认后付
	 */
	public static final String FEE_TYPE_NO_LIMIT_DEF_POST = "4";
	/**
	 * 可预可后，默认预付
	 */
	public static final String FEE_TYPE_NO_LIMIT_DEF_PRE = "5";
	/**
	 * 主销售品类型
	 */
	public static final String OFFER_TYPE_CORE_OFFER = "1";
	/**
	 * 附属销售品类型
	 */
	public static final String OFFER_TYPE_ATTACH_OFFER = "2";
}
